home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
aminet
/
util
/
misc
/
cliphandler.lha
/
clip.doc
< prev
Wrap
Text File
|
1992-10-17
|
2KB
|
94 lines
CLIP-HANDLER 0.16 by Supervisor Software © 1991
This little handler allows you to copy files to/from the clipboard device.
For example, you may copy a file to CLIP: and then paste it into a text
you are editing with your favourite text editor. Or, you may cut a block
of text and type it in a CLI window or save it into a file.
This program was placed in the public domain and it is freely distributable
as long as this readme file is included with the distribution.
USAGE:
~~~~~~
First, add the supplied mountlist entries to your devs:mountlist and copy
clip-handler to your L: directory.
Type "mount clip:" and you are ready to go. Try list clip: or type clip:
to see how it works. The comment field of 'CLIP:' file displays the
handler's version number. You may add the mount command to your startup-
sequence to mount clip-handler automatically whenever you boot your machine.
Examples:
To copy a file ram:test to clipboard device:
copy ram:test clip:
To print all text in clip:
copy clip: prt:
NOTE:
Clip-handler understands IFF text chunks only. Other data types will return
a read-length of zero.
Technical info:
~~~~~~~~~~~~~~~
Clip-handler supports ACTION_DIE packets and unloads its segment list when
such a packet is received. However, if other packets are received at the
same time, a lockup is possible. As ACTION_DIE was implemented for handler
development only, this was not considered to be a problem.
WB 2.0 notes:
~~~~~~~~~~~~~
Since some CLI commands of WB 2.0 don't seem to work well with handlers
that support only part of dos file system packets a STUPID mode was added
to clip-handler. In this mode, only ACTION_FIND_INPUT/OUTPUT, ACTION_READ,
ACTION_WRITE, ACTION_END, and ACTION_DIE packets are supported. Use STUPID
mode when working under 2.0 to get better results.
To activate STUPID mode add line
Startup = stupid
in your mountlist entry (see the one supplied for CLIP1:).
If STUPID mode is not used under 2.0:
* LIST command doesn't output anything (LIST CLIP1:)
* TYPE command doesn't work
but:
* most other directory utilities work properly.
Note that the same problem is with names assigned to files, eg.:
echo >ram:testfile "This is a test"
assign tf: ram:testfile
list tf: ; doesn't output anything (a bug in list, maybe?)
All CLI commands should work properly under 1.2 / 1.3.
Any comments and bug reports may be sent to
jmarin@messi.uku.fi
Jukka Marin
Metsurintie 17 B 8
70150 Kuopio
FINLAND